# -*- coding:utf-8 -*-

import motor
import time

def main():
	motor.initMotor()
	while 1:
		motor.forward(50)
		time.sleep(3)
		motor.back(50)
		time.sleep(3)
		motor.left(50)
		time.sleep(3)
		motor.right(50)
		time.sleep(3)

if __name__ == '__main__':
	main()